<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			div.c1,div.c2{

				width: 140px;
				height: 160px;
				background-color: black;
				padding: 20px 10px 10px 10px;
			}
			div.c1{
				border-radius: 10px 10px 0 0;
				display: flex;
				flex-direction: column;
			}
			div.c2{
				border-radius: 0 0 10px 10px;
				padding-bottom: 50px;
				display: flex;
				justify-content: center;
			}
			
			div.c1 div{
				background-color: white;
				width: 50px;
				height: 50px;
				border-radius: 50%;
			}
			div#d2{
				align-self: center;
			}
			div#d3{
				align-self: flex-end;
			}
			div.c2 div{
				background-color: red;
				width: 50px;
				height: 50px;
				border-radius: 50%;
				align-self: flex-end;
			}
			div.c1,div.c2{
				box-shadow: 10px 10px 10px grey;
			}
		</style>
	</head>
	<body>
		
		<div class="c1">
			<div id="d1"></div>
			<div id="d2"></div>
			<div id="d3"></div>
		</div>
		<div class="c2">
			<div id="d4"></div>
		</div>
	</body>
</html>